package com.zerocarbon.declaration.common.dto;

import com.zerocarbon.framework.common.dto.BaseDTO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Accessors(chain = true)
public class IdDTO extends BaseDTO {

    @NotNull(message = "id is required")
    private Long id;

}
